import request from "@/axios";

// 获取额度消息列表
export const getCreditMsg = option =>
  request({
    url: "/api/message/getcreditmsgpage",
    method: "post",
    data: option
  });

// 订单消息列表
export const getordermsg = option =>
  request({
    url: "/api/message/getordermsgpage",
    method: "post",
    data: option
  });

// 系统消息列表
export const getsystemmsg = option =>
  request({
    url: "/api/message/getsystemmsgpage",
    method: "post",
    data: option
  });
